package com.alibaba.Text.p1.Shape.Sshape;

public class Circle  extends Shappe {

    private int radius;

    public Circle(int radius) {
        this.radius = radius;
    }

    public Double Area(){
        return Math.PI * radius * radius;
    }

    public Double Perimeter(){
        return Math.PI * radius * 2;
    }
}
